﻿<%@ Page Title="" Language="C#" MasterPageFile="~/HomePage.master" AutoEventWireup="true"
    CodeFile="ChiTietVideo.aspx.cs" Inherits="ChiTietVideo" %>

    <%@ Register Assembly="MSCaptcha" Namespace="MSCaptcha" TagPrefix="cc1" %>
<%@ Register Assembly="PagerControl" Namespace="CutePager" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" runat="Server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:HiddenField ID="H_VideoId" Value="0" runat="server" />
    <asp:HiddenField ID="H_TieuDe" Value="" runat="server" />
    <div class="detail_content">
        <div class="detail_content_top">
            <span class="detail_new_date">
                <asp:Label ID="lblNgayCapNhat" runat="server" Text=""></asp:Label></span>
            <p class="icon_public">
                <!-- AddThis Button BEGIN -->
                <asp:ImageButton ID="facebook" CausesValidation="false" ImageUrl="~/Images/button_facebook.png"
                    runat="server" OnClick="cmdFacebook_Click" />
                <asp:ImageButton ID="twiter" CausesValidation="false" ImageUrl="~/Images/button_fw.png"
                    runat="server" OnClick="cmdTwiter_Click" />
                <asp:ImageButton ID="yahoo" CausesValidation="false" ImageUrl="~/Images/button_yahoo.png"
                    runat="server" OnClick="cmdYahoo_Click" />
                <asp:ImageButton ID="email" CausesValidation="false" ImageUrl="~/Images/button_mail.png"
                    runat="server" OnClick="cmdEmail_Click" />
                <asp:ImageButton ID="ImageButton1" CausesValidation="false" ImageUrl="~/Images/button_zing.png"
                    runat="server" OnClick="cmdZing_Click" />
                <asp:ImageButton ID="ImageButton2" CausesValidation="false" ImageUrl="~/Images/button_print.png"
                    runat="server" OnClick="cmdIn_Click" />
                <!-- AddThis Button END -->
            </p>
        </div>
        <div class="detail_content_mid">
            <div class="detail_content_mid_content">
                <asp:Panel ID="Panel1" runat="server">
                    <div class="detail_new">
                        <h3 class="title_detail_new">
                            <asp:HyperLink ID="LienKet1" runat="server" NavigateUrl="#">
                                <asp:Label ID="lblTieuDeTin" runat="server" Text=""></asp:Label></asp:HyperLink></h3>
                        <asp:Literal ID="lit_video" Visible="true" runat="server" Text="" />
<div class="fb-like" data-href='<%# "http://babyfood.vn/ChiTietVideo.aspx?VideoId=" + Request.QueryString["VideoId"].ToString() %>' data-send="true" data-width="450" data-show-faces="false"></div>
                        <div class="detail_new_chitiet" style="text-align: justify">
                            <asp:Label ID="lblNoiDungTin" CssClass="text_content" runat="server" Text=""></asp:Label>
                        </div>
                    </div>
                </asp:Panel>
                <!--End #detail_new-->
                <div class="form_comment">
                    <table border="0">
                        <tr>
                            <td>
                                <span class="comment_label">Tên của bạn:</span>
                            </td>
                            <td>
                                <asp:TextBox CssClass="comment_input" ID="txtName" Text="Nhập tên" value="Nhập tên"
                                    onblur="if(this.value=='') this.value='Nhập tên';" onfocus="if(this.value=='Nhập tên') this.value='';"
                                    runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" SetFocusOnError="True"
                                    InitialValue="0" ControlToValidate="txtName" Display="Dynamic" ErrorMessage=" (*)"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <span class="comment_label">Email</span>
                            </td>
                            <td>
                                <asp:TextBox CssClass="comment_input" ID="txtEmails" Text="Nhập Email" value="Nhập Email"
                                    onblur="if(this.value=='') this.value='Nhập Email';" onfocus="if(this.value=='Nhập Email') this.value='';"
                                    runat="server"></asp:TextBox>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmails"
                                    Text="(Email sai)" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                                    ErrorMessage="*"></asp:RegularExpressionValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <span class="comment_label">Tiêu đề</span>
                            </td>
                            <td>
                                <asp:TextBox CssClass="comment_input" ID="txtTieuDe" value="Nhập Tiêu Đề" onblur="if(this.value=='') this.value='Nhập Tiêu Đề';"
                                    onfocus="if(this.value=='Nhập Tiêu Đề') this.value='';" Text="Nhập Tiêu Đề" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" SetFocusOnError="True"
                                    InitialValue="0" ControlToValidate="txtTieuDe" Display="Dynamic" ErrorMessage=" (*)"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <span class="comment_label">Nội dung</span>
                            </td>
                            <td>
                                <asp:TextBox CssClass="comment_content" Rows="5" ID="txtNoiDung" value="Nhập Nội dung"
                                    onblur="if(this.value=='') this.value='Nhập Nội dung';" onfocus="if(this.value=='Nhập Nội dung') this.value='';"
                                    Text="Nhập Nội dung" runat="server" TextMode="MultiLine"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" SetFocusOnError="True"
                                    InitialValue="0" ControlToValidate="txtNoiDung" Display="Dynamic" ErrorMessage=" (*)"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <span class="comment_label">Mã xác nhận</span>
                            </td>
                            <td>
                                <span class="comment_label">
                                    <asp:Label ID="lblResult" runat="server" />
                                    <cc1:CaptchaControl ID="CaptchaControl1" runat="server" CaptchaBackgroundNoise="none"
                                        CaptchaLength="5" CaptchaHeight="60" CaptchaWidth="200" CaptchaLineNoise="None"
                                        CaptchaMinTimeout="5" />
                                </span>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <span class="comment_label">Nhập mã xác nhận</span>
                            </td>
                            <td>
                                <asp:TextBox CssClass="comment_input" value="Nhập Mã Xác Nhận" onblur="if(this.value=='') this.value='Nhập Mã Xác Nhận';"
                                    onfocus="if(this.value=='Nhập Mã Xác Nhận') this.value='';" Text="Nhập Mã Xác Nhận"
                                    runat="Server" ID="txtCaptcha" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                            </td>
                            <td>
                            </td>
                        </tr>
                        <tr>
                            <td>
                            </td>
                            <td>
                                <asp:ImageButton ID="cmdSend" CssClass="botton_send_comment" CausesValidation="false"
                                    ImageUrl="~/Images/button_send.png" runat="server" OnClick="cmdSend_Click" />
                            </td>
                        </tr>
                    </table>
                </div>
                <!--End #form_comment-->
                <div class="user_comment_khung">
                    <div>
                        <p>
                            <span class="user_comment_label">Bình luận:</span>
                            <p class="user_comment_gachngang">
                            </p>
                    </div>
                    <asp:DataList ID="dlcomment" runat="server" RepeatColumns="1" RepeatDirection="Horizontal"
                        Width="100%">
                        <ItemTemplate>
                            <div class="user_comment">
                                <div class="user_comment_right">
                                    <div class="user_comment_right_top">
                                    </div>
                                    <div class="user_comment_right_mid">
                                        <div class="user_comment_right_mid_content">
                                            <p>
                                                <span class="name_user_comment">
                                                    <%# Eval("Ten") %></span> - <span class="title_user_comment">
                                                        <%# Eval("TieuDe") %></span></p>
                                            <%# Eval("NoiDung") %>
                                        </div>
                                        <!--End #user_comment_right_mid_content-->
                                    </div>
                                    <!--End #user_comment_right_mid-->
                                    <div class="user_comment_right_bottom">
                                    </div>
                                    <p class="user_comment_icon_left">
                                    </p>
                                </div>
                            </div>
                        </ItemTemplate>
                    </asp:DataList>
                    <cc1:Pager ID="Pager1" runat="server" PreviousClause="Lùi" NextClause="Tiến" LastClause=""
                        FirstClause="" PageClause="Trang " OfClause=" /" PageSize="10" OnCommand="Pager1_Command"
                        ForeColor="#006600" Font-Bold="True" />
                </div>
            </div>
            <div class="detail_content_bottom" style="text-align: right">
            </div>
        </div>
</asp:Content>
